<?php

session_start();

require "include/template2.inc.php";
require "include/beContent.inc.php";
require "include/content.inc.php";



$main = new Skin("dipartimento");

$content = new Content($docEntity, $doctypeEntity);

$content->setStyle(HIERARCHICAL);
$content->setOrderFields("category", "position");
$content->setPresentation("doctype_name","doc_name", "doc_id", "doc_creation", "doc_body", "doc_document_filename");
$content->setParameter("doc_public", "*");

$main->setContent("body", $content->get());
$main->close();  

?>